package domain.service.charge;

import domain.dao.charge.CameraDao;
import domain.dao.charge.ChargeDao;
import domain.entity.charge.Camera;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/9/6.
 */
@Service
public class CameraService {
    @Autowired
    private CameraDao cameraDao;

    public List< Map<String,Object>> getCameraList(){
        return cameraDao.getCameraList();
    }

    public Map<String,Object> getById(String id){
        return cameraDao.getById(id);
    }
}
